package com.maysev.myjob_backend.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author 五七
 * @create 2023-03-30 15:23
 * @description:
 */
@Data
public class PerAuth implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    //用户id
    private Long userId;

    private String realName;

    private String cardId;
    //认证状态(0:未认证,1:待确认,2:认证失败,3:认证成功)
    private String status;

    private String nationPhoto;

    private String portraitPhoto;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
